<template>
   <div class="ToUpdate">
    <ul class="book-default">
      <li v-for="(item,index) in mess" :key="index">
        <a href="javascript:;">
          <img :src="item.imgSrc" alt="">
          <p>{{item.bookName}}</p>
        </a>
      </li>
    </ul>
    <div class="footer">
      <p><span>8</span>本公开阅读</p>
      <div class="chakan"><a href="javascript:;">查看我的公开页面</a></div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ToUpdate',

  data() {
    return {
      data:null
    };
  },
  props:["mess"],
  mounted() {
    
  }, 
  methods: {
    
  },
};
</script>

<style lang="less" scoped>
.ToUpdate{
  width:100%;
  box-sizing: border-box;
  .book-default{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    li{
      width:32%;
      // border:1px solid #ccc;
      height:2.8rem;
      margin:.2rem 0 .3rem 0;
      a{
        text-align: left;
        // display: block;
        img{
          width: 100%;
          height:90%;
          display: block;
        }
        p{
          margin: 0;
          padding:0;
          color:#000;
          text-align: center;
        }
      }
    }
    &::after{
      content:"";
      display:block;
      width:32%;
    }
  }
  .footer{
    margin-top:.5rem;
    text-align: center;
    p{
      font-size:.12rem;
      color:#999;
      margin: 0;
      padding:0;
    }
    .chakan{
      width:100%;
      font-size:.13rem;
      margin-top:.1rem;
    }
    
  }
}
</style>